package com.it.pay;

import com.it.hm.config.DefaultFeignConfig;
import com.it.hm.config.RequestInterceptorConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(value = "com.it.hm.client",defaultConfiguration = {DefaultFeignConfig.class, RequestInterceptorConfig.class})
@MapperScan("com.it.pay.mapper")
@SpringBootApplication
public class PayServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(PayServiceApplication.class, args);
    }

}
